package cn.edu.spring;

public class Context {

    private Animal animal;
    private Tiger tiger;
    private Tom tom;

    public Animal getAnimal() {
        return animal;
    }

    public void setAnimal(Animal animal) {
        this.animal = animal;
    }

    public Tiger getTiger() {
        return tiger;
    }

    public void setTiger(Tiger tiger) {
        this.tiger = tiger;
    }

    public Tom getTom() {
        return tom;
    }

    public void setTom(Tom tom) {
        this.tom = tom;
    }


    public String toString() {
        return "Context{" +
                "animal=" + animal +
                ", tiger=" + tiger +
                ", tom=" + tom +
                '}';
    }
}
